package com.lovo.ssc.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 订单商品中间表
 * </p>
 *
 * @author lovo
 * @since 2022-07-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("order_goods")
public class OrderGoods extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商品名
     */
    @TableField("goodsName")
    private String goodsName;

    /**
     * 商品数量
     */
    @TableField("goodNumber")
    private Integer goodNumber;

    /**
     * 商品批次
     */
    @TableField("goodsBatch")
    private String goodsBatch;

    /**
     * 订单号
     */
    @TableField("orderCode")
    private String orderCode;
    /**
     * 商品编号
     */
    @TableField("goodsCode")
    private String goodsCode;


}
